package com.baizhi.springboot.dao;

import com.baizhi.springboot.entity.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CarDao {
    List<Car> selectCarByPage(@Param("offset")Integer offset, @Param("limit")Integer limit);

    Integer selectCount();

    void insertCar(Car car);

    void deleteCar(Integer id);

    Car selectOneCar(Integer id);

    void updateCar(Car car);

    void insertCarApplyFor(CarApplyFor carApplyFor);

    void insertSeal(Seal seal);

    void insertBook(Book book);

    void insertCard(Card card);
}
